package org.example.entitys.managers;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 学生的实体类
 * @Author 魏锴
 * @Date 2023/11/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor

@HeadRowHeight(30)
@ContentRowHeight(15)
@ColumnWidth(18)
@ContentFontStyle(fontHeightInPoints = (short) 12)
public class Student {
    @ExcelProperty("id")
    private int id = -1;
    @ExcelProperty("名字")
    private String stu_name;
    @ExcelProperty("来源地")
    private String from_place;
    @ExcelProperty("父母电话")
    private String parent_phone;
    @ExcelProperty("年级")
    private String current_grade;
    @ExcelProperty("状态")
    private int status = 1;
    @ExcelProperty("登录id")
    private int login_id;
    @ExcelProperty("简述")
    private String comment;
}
